<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>


<script>
    var a = undefined;
    var b = undefined;

    console.log( parseFloat(a)/parseFloat(b));

</script>
</body>
</html>